package chat.statemachine;

import chat.State;

/**
 * This interface defines the interface of the actions of the state machines
 * (client or server).
 * 
 * @author Denis Conan
 * 
 */
public interface AlgorithmActionInterface {
	int getActionIndex();

	Class<? extends AbstractContent> getContentClass();

	Object execute(State state, AbstractContent msg)
			throws AlgorithmActionInvocationException;
}
